package com.taotao.search.mapper;

import java.util.List;

import org.apache.solr.client.solrj.SolrQuery;

import com.taotao.common.SearchItem;
import com.taotao.common.SearchResult;

/**
 * 搜索系统 的ItemMapper映射层，
 * @author created by wq
 * @date   Sep 1, 2017---1:19:06 AM
 * @return
 * @throws Exception<br/>
 *==========History========== <br/>
 * taotao-search-service Sep 1, 2017
 */
public interface SearchItemMapper {

	//查询所有的SearchItem
	List<SearchItem> getAllSearchItem();
	
	//通过商品id得到searchItem对象
	SearchItem getSearchItemByItemId(long itemId);
	
}
